
export const formData = {
    getItemUrl: 'merchant/addrOfSelfPickup/getItemById/',
    updateUrl: 'merchant/addrOfSelfPickup/updateAction/',
    createUrl: 'merchant/addrOfSelfPickup/createAction/',
    formKey: 'addrOfSelfPickup',
    updateFieldList: [
        { formType: 'Record', showName: '商户', key: 'shop', width: 5, label: 'name', value: 'id', required: true},
        { formType: 'Input', showName: '自提点名称', key: 'name', width: 5, required: true },
        { formType: 'Input', showName: '联系人姓名', key: 'contactName', width: 5, required: true },
        { formType: 'Input', showName: '联系人电话', key: 'contactPhone', width: 5, required: true },
        { formType: 'Input', showName: '详细地址', key: 'detailAddr', width: 5, required: true },
    ],
    detailFieldList: [
        { formType: 'Input', showName: '联系人姓名', key: 'contactName', width: 5 },
        { formType: 'Input', showName: '联系人电话', key: 'contactPhone', width: 5 },
        { formType: 'Input', showName: '详细地址', key: 'detailAddr', width: 5 },
    ],
    options: {
        status: [
            {value: '1', label: "正常"},
            {value: '2', label: "异常"}
        ],
        isShow: [
            {value: 1, label: "是"},
            {value: 0, label: "否"}
        ]
    },
    dicts: {
        status: {
            '1': "正常",
            '2': "异常"
        }
    }
}
